package com.itbupt.domain.auth.service;

import java.io.IOException;

/**
 * @Author dingchang
 * @Date 2025/5/9 22:07
 * @Description: 微信服务
 */
public interface ILoginService {

    // 获取登录二维码所需的ticket
    String createQrCodeTicket() throws Exception;

    // 登录验证
    String checkLogin(String ticket);

    // 保存登录状态
    void saveLoginState(String ticket, String openid) throws IOException;

}
